<?php
namespace app\common\model\project_model;

use app\common\model\Base;
use think\Model;

class AlbumImgCheckModel extends Model {

    protected $table = 'ph_album_img_check';

    // 鉴别得到的返回类型
    const LABEL_SEXY = 3; // 性感
    const LABEL_PORNOGRAPHIC = 2; // 色情
    const LABEL_NORMAL = 1; // 正常

    // 是否违规
    const IS_OUT_RULES_YES = 0; // 违规
    const IS_OUT_RULES_NO = 1; // 没违规

    public static function labelList() {
        return [
            self::LABEL_NORMAL => '正常',
            self::LABEL_SEXY => '性感',
            self::LABEL_PORNOGRAPHIC => '色情',
        ];
    }

    public static function isOutRulesList() {
        return [
            self::IS_OUT_RULES_NO => '正常',
            self::IS_OUT_RULES_YES => '违规',
        ];
    }
}